package demo06StringBuilder;

/*
    java.lang.StringBuilder类:字符串缓冲区,可以提高字符串的效率
    构造方法:
        StringBuilder() 构造一个不带任何字符的字符串生成器，其初始容量为 16 个字符。
        StringBuilder(String str) 构造一个字符串生成器，并初始化为指定的字符串内容。
 */
public class Demo01StringBuilder {
    public static void main(String[] args) {
        StringBuilder stringBuilder = new StringBuilder();
        System.out.println("stringBuilder: " + stringBuilder);

        StringBuilder stringBuilder1 = new StringBuilder("我是傻逼");
        System.out.println("stringBuilder1: " + stringBuilder1);
    }
}
